package com.qixin.api.bean;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 公用驾驶证文件表
 * </p>
 *
 * @author 闫亚茹
 * @since 2018-10-29
 */
@TableName("com_playcar_file")
public class ComPlaycarFile extends Model<ComPlaycarFile> {

    private static final long serialVersionUID = 1L;

	private Long id;
    /**
     * url地址
     */
	private String url;
    /**
     * 关联ID
     */
	@TableField("relaction_id")
	private Long relactionId;
    /**
     * 正面 1  反面  2
     */
	private Integer flag;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Long createTime;
    /**
     * 文件名字
     */
	@TableField("file_name")
	private String fileName;
    /**
     * 系统ID  1 平台  2 企业 3 微信
     */
	@TableField("system_id")
	private Integer systemId;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Long getRelactionId() {
		return relactionId;
	}

	public void setRelactionId(Long relactionId) {
		this.relactionId = relactionId;
	}

	public Integer getFlag() {
		return flag;
	}

	public void setFlag(Integer flag) {
		this.flag = flag;
	}

	public Long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public Integer getSystemId() {
		return systemId;
	}

	public void setSystemId(Integer systemId) {
		this.systemId = systemId;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "ComPlaycarFile{" +
			"id=" + id +
			", url=" + url +
			", relactionId=" + relactionId +
			", flag=" + flag +
			", createTime=" + createTime +
			", fileName=" + fileName +
			", systemId=" + systemId +
			"}";
	}
}
